<template name="channel_quill">
  <div class="modal" id="channel-quill-modal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-dialog-centered modal-message" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title">写文章</h5>
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <div class="modal-body p-0">
          <div style="height: 50vh;" id="editor"></div>
        </div>
        <div class="modal-footer">
          {{#if isOwner}}
            <button type="button" class="btn btn-danger mr-auto" id="uninstall-app">删除应用</button>
          {{/if}}
          <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
          <button type="button" class="btn btn-primary" id="publish-post">发布</button>
        </div>
      </div>
    </div>
  </div>
</template>